package com.dhl.factory.simplefactory.traffic.factory;

import com.dhl.factory.simplefactory.traffic.Car;
import com.dhl.factory.simplefactory.traffic.Traffic;

/**
 * @author YHS
 */
public class CarFactory {

    public static Traffic getBigTrucks(){
        System.out.println("变成一个大卡车");
        return new Car("大卡车");
    }

    public static Traffic getLamborghini(){
        System.out.println("变成一个兰博基尼");
        return new Car("兰博基尼");
    }
}
